home *** CD-ROM | disk | FTP | other *** search
/ Suzy B Software 2 / Suzy B Software CD-ROM 2 (1994).iso / extras / programm / gemfsc20 / gemfsc20.lzh / GEMFBIND / VDSPCUR.S < prev    next >
Text File  |  1993-03-16  |  926b  |  36 lines

  1. ;*========================================================================
  2. ;* VDIFAST Public Domain VDI bindings.
  3. ;*========================================================================
  4.  
  5.  
  6. ;*-----------------------------------------------------------------------
  7. ;* Place graphic cursor at location.
  8. ;*-----------------------------------------------------------------------
  9.  
  10.           globl     _v_dspcur
  11. _v_dspcur:
  12. ;    .cargs    #8,handle.w,x.w,y.w
  13.  
  14. handle      =         8
  15. x          =         10
  16. y          =         12
  17.  
  18.           link        a6,#0
  19.  
  20. ;          VContrl    #5,#18,#1
  21.           move.w    handle(a6),-(sp)    ; contrl[6]
  22.           move.w    #18,-(sp)            ; contrl[5]
  23.           subq.l    #2,sp                ; contrl[4]
  24.           clr.l     -(sp)                ; contrl[3,2]
  25.           move.w    #1,-(sp)            ; contrl[1]
  26.           move.w    #5,-(sp)            ; contrl[0]
  27.  
  28.           subq.l    #8,sp                ;* -> ptsout, intout
  29.           pea        x(a6)                ;* -> ptsin
  30.           subq.l    #4,sp                ;* -> intin
  31.           pea        16(sp)                ;* -> contrl
  32.  
  33.           jmp        vdicall
  34.  
  35.           end
  36.